home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Extension Shell multi-seg ƒ / Extension Seg2.a < prev    next >
Encoding:
Text File  |  1996-03-20  |  800 b   |  32 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File: Extension Seg2.a
  3. ;    
  4. ;    Assembly code (jump table) for a printing extension.
  5. ;    Segment #2, to show the use of the GXPRINTINGDISPATCH macro.
  6. ;
  7. ;    Dave Hersey
  8. ;    Apple Developer Technical Support
  9. ;
  10. ;    12/01/92 - dmh - Created.
  11. ;     4/26/93 - dmh - Updated to use recommended approach
  12. ;                     to global data initialization.
  13. ;     9/05/93 - dmh - Updated for b2.
  14. ;    12/18/93 - dmh - Updated for b3.
  15. ;     6/10/94 - dmh - Added GXPRINTINGDISPATCH examples.
  16. ;
  17.  
  18.     EXPORT    EntryPoint2                        ; Our main entry point.
  19.     IMPORT    SetUpPrintPanel                    ; Routine to set up our panel.
  20.     IMPORT    GetJobCollectionItem            ; Routine to return a job collection item.
  21.  
  22. EntryPoint2    PROC
  23.  
  24.             DC.L    0                        ; Reserved for owner count.
  25.  
  26.             JMP        SetUpPrintPanel            ; (offset =  4)
  27.             JMP        GetJobCollectionItem    ; (offset =  8)
  28.  
  29.             ENDPROC
  30.  
  31.     END
  32.